-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
lib: return undefined for localStorage without file #61333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib: return undefined for localStorage without file #61333
Conversation
ebc1299 to
c85a48b
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #61333 +/- ##
==========================================
- Coverage 88.54% 88.51% -0.04%
==========================================
Files 704 704
Lines 208734 208762 +28
Branches 40271 40272 +1
==========================================
- Hits 184823 184778 -45
- Misses 15932 15977 +45
- Partials 7979 8007 +28
🚀 New features to boost your workflow:
|
c85a48b to
5b17977
Compare
Make localStorage return undefined and emit a warning when
--localstorage-file is not provided. Mark the property as
non-enumerable to avoid breaking {...globalThis}.
Fixes: nodejs#60303
5b17977 to
b044f0a
Compare
|
The
notable-change
Please suggest a text for the release notes if you'd like to include a more detailed summary, then proceed to update the PR description with the text or a link to the notable change suggested text comment. Otherwise, the commit will be placed in the Other Notable Changes section. |
|
Landed in fa70327 |
Make localStorage return undefined and emit a warning when
--localstorage-file is not provided. Mark the property as
non-enumerable to avoid breaking {...globalThis}.
Fixes: nodejs#60303
PR-URL: nodejs#61333
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Make localStorage return undefined and emit a warning when
--localstorage-file is not provided. Mark the property as
non-enumerable to avoid breaking {...globalThis}.
Fixes: #60303